package io.webfolder.cdp.type.domsnapshot;

import java.util.List;

import com.vimeo.stag.UseStag;

/**
 * Table of details of the post layout rendered text positions The exact layout
 * should not be regarded as stable and may change between versions
 */
@UseStag
public class TextBoxSnapshot {
	private List<Integer> layoutIndex;

	private List<List<Double>> bounds;

	private List<Integer> start;

	private List<Integer> length;

	/**
	 * Index of the layout tree node that owns this box collection.
	 */
	public List<Integer> getLayoutIndex() {
		return layoutIndex;
	}

	/**
	 * Index of the layout tree node that owns this box collection.
	 */
	public void setLayoutIndex(List<Integer> layoutIndex) {
		this.layoutIndex = layoutIndex;
	}

	/**
	 * The absolute position bounding box.
	 */
	public List<List<Double>> getBounds() {
		return bounds;
	}

	/**
	 * The absolute position bounding box.
	 */
	public void setBounds(List<List<Double>> bounds) {
		this.bounds = bounds;
	}

	/**
	 * The starting index in characters, for this post layout textbox substring.
	 * Characters that would be represented as a surrogate pair in UTF-16 have
	 * length 2.
	 */
	public List<Integer> getStart() {
		return start;
	}

	/**
	 * The starting index in characters, for this post layout textbox substring.
	 * Characters that would be represented as a surrogate pair in UTF-16 have
	 * length 2.
	 */
	public void setStart(List<Integer> start) {
		this.start = start;
	}

	/**
	 * The number of characters in this post layout textbox substring. Characters
	 * that would be represented as a surrogate pair in UTF-16 have length 2.
	 */
	public List<Integer> getLength() {
		return length;
	}

	/**
	 * The number of characters in this post layout textbox substring. Characters
	 * that would be represented as a surrogate pair in UTF-16 have length 2.
	 */
	public void setLength(List<Integer> length) {
		this.length = length;
	}
}
